package com.augmentum.oes.model;

import java.io.Serializable;

public class QuestionBack implements Serializable{

    private static final long serialVersionUID = -562176675210660854L;

    private int id;
    private String question;
    private String answerA;
    private String answerB;
    private String answerC;
    private String answerD;
    private int answer;
    private Exam exam;
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswerA() {
        return answerA;
    }

    public void setAnswerA(String answerA) {
        this.answerA = answerA;
    }

    public String getAnswerB() {
        return answerB;
    }

    public void setAnswerB(String answerB) {
        this.answerB = answerB;
    }

    public String getAnswerC() {
        return answerC;
    }

    public void setAnswerC(String answerC) {
        this.answerC = answerC;
    }

    public String getAnswerD() {
        return answerD;
    }

    public void setAnswerD(String answerD) {
        this.answerD = answerD;
    }

    public int getAnswer() {
        return answer;
    }

    public void setAnswer(int answer) {
        this.answer = answer;
    }

    public Exam getExam() {
        return exam;
    }

    public void setExam(Exam exam) {
        this.exam = exam;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("QuestionBack [id=");
        builder.append(id);
        builder.append(", question=");
        builder.append(question);
        builder.append(", answerA=");
        builder.append(answerA);
        builder.append(", answerB=");
        builder.append(answerB);
        builder.append(", answerC=");
        builder.append(answerC);
        builder.append(", answerD=");
        builder.append(answerD);
        builder.append(", answer=");
        builder.append(answer);
        builder.append("]");
        return builder.toString();
    }

}
